package com.his.dictrole.service;

import com.his.dictrole.entity.DictRole;
import com.his.dictrole.entity.DictRoleMenu;
import com.his.dictrole.vo.DictRoleMenuVo;
import com.his.dictrole.vo.DictRoleVo;
import com.his.login.entity.DictEmployee;

import java.util.List;

/**
 * @Author xiaoxiaoping
 * @Date 2020/3/9 13:23
 * @Version 1.0
 */
public interface DictRoleService {
    void save(DictRoleVo dictRoleVo,DictEmployee dictEmployee);

    void deleteById(String id);

    List<DictRole> qureyAll();

    DictRole selectById(String id);

    void roleBindMenu(DictRoleMenuVo dictRoleMenuVo);

    void updateById(DictEmployee dictEmployee,DictRoleVo dictRoleVo);

    List<String> selectMenuByRole(String roleId);

    List<DictRole> getShowRole();

}
